package com.blb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author PangLei
 * @since 2019-12-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_user")
public class User extends Model<User> {

    private static final long serialVersionUID=1L;

    private String id;

    private String sex;

    private String readPassword;

    private String nickname;

    private String province;

    private String city;

    private String signature;

    private String img;
    private String email;

    private String region;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
